package com.edu.bean;

import java.util.Date;

public class Upkeep {
	private int upkeepsId;
	
	private int user_id;
	
	private int car_id;
	
	private String  upkeepname;
	
	private double price;
	
	private String introduce;
	
	private String state;
	
	private Date created_at;
	
	private Date updated_at;


	public int getUpkeepsId() {
		return upkeepsId;
	}

	public void setUpkeepsId(int upkeepsId) {
		this.upkeepsId = upkeepsId;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public int getCar_id() {
		return car_id;
	}

	public void setCar_id(int car_id) {
		this.car_id = car_id;
	}

	public String getUpkeepname() {
		return upkeepname;
	}

	public void setUpkeepname(String upkeepname) {
		this.upkeepname = upkeepname;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getCreated_at() {
		return created_at;
	}

	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}

	public Date getUpdated_at() {
		return updated_at;
	}

	public void setUpdated_at(Date updated_at) {
		this.updated_at = updated_at;
	}

	public Upkeep(int upkeepsId, int user_id, int car_id, String upkeepname, double price, String introduce,
			String state, Date created_at, Date updated_at) {
		super();
		this.upkeepsId = upkeepsId;
		this.user_id = user_id;
		this.car_id = car_id;
		this.upkeepname = upkeepname;
		this.price = price;
		this.introduce = introduce;
		this.state = state;
		this.created_at = created_at;
		this.updated_at = updated_at;
	}
	
	public Upkeep(int user_id, int car_id, String upkeepname, double price, String introduce, String state,
			Date created_at, Date updated_at) {
		super();
		this.user_id = user_id;
		this.car_id = car_id;
		this.upkeepname = upkeepname;
		this.price = price;
		this.introduce = introduce;
		this.state = state;
		this.created_at = created_at;
		this.updated_at = updated_at;
	}

	public Upkeep() {
		super();
	}
	
	
}
